Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.collections.actions--filters

This contribution is part of XML component org.nuxeo.ecm.collections.actions inside nuxeo-platform-collections-jsf-6.0.jar

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>Collections</type>
          </rule>
        </filter>
  • <filter id="canAddToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canCurrentDocumentBeCollected()}
            </condition>
          </rule>
        </filter>
  • <filter id="canSelectedToBeAddedToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canAddToDocsToCurrentCollection()}
            </condition>
          </rule>
        </filter>
  • <filter id="canAddSelectedToCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canAddSelectedDocumentBeCollected()}
            </condition>
          </rule>
        </filter>
  • <filter id="canRemoveFromCollection">
          <rule grant="true">
            <condition>
              #{collectionActions.canRemoveFromCollection()}
            </condition>
          </rule>
        </filter>
  • <filter append="true" id="rights">
          <rule grant="true">
            <facet>Collection</facet>
          </rule>
        </filter>
  • <filter id="collectionContentFilter">
          <rule grant="true">
            <facet>Collection</facet>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>Collections</type>
      </rule>
    </filter>

    <filter id="canAddToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canCurrentDocumentBeCollected()}
        </condition>
      </rule>
    </filter>

    <filter id="canSelectedToBeAddedToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canAddToDocsToCurrentCollection()}
        </condition>
      </rule>
    </filter>

    <filter id="canAddSelectedToCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canAddSelectedDocumentBeCollected()}
        </condition>
      </rule>
    </filter>

    <filter id="canRemoveFromCollection">
      <rule grant="true">
        <condition>
          #{collectionActions.canRemoveFromCollection()}
        </condition>
      </rule>
    </filter>

    <filter append="true" id="rights">
      <rule grant="true">
        <facet>Collection</facet>
      </rule>
    </filter>

    <filter id="collectionContentFilter">
      <rule grant="true">
        <facet>Collection</facet>
      </rule>
    </filter>

  </extension>